package cn.iocoder.yudao.module.school.controller.admin.info.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 校园信息新增/修改 Request VO")
@Data
public class InfoSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "14705")
    private Long id;

    @Schema(description = "学校名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "学校名称不能为空")
    private String schoolName;

    @Schema(description = "学校地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "学校地址不能为空")
    private String address;

    @Schema(description = "学校类型(1:小学 2:初中 3:高中 4:大学 5:其他)", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "学校类型(1:小学 2:初中 3:高中 4:大学 5:其他)不能为空")
    private Integer schoolType;

    @Schema(description = "联系电话")
    private String phone;

    @Schema(description = "校长姓名")
    private String principal;

    @Schema(description = "建校年份")
    private Integer foundingYear;

    @Schema(description = "学校简介", example = "你说的对")
    private String description;

    @Schema(description = "状态(0:禁用 1:启用)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态(0:禁用 1:启用)不能为空")
    private Integer status;

    @Schema(description = "学校Logo URL", example = "https://www.iocoder.cn")
    private String logoUrl;

    @Schema(description = "地理位置坐标(经度,纬度)")
    private String location;

    @Schema(description = "占地面积(平方米)")
    private Double area;

}